initialize
Initializes the control with its associated module context.
This method is typically called once before the control is first used or made active. It allows the control to set up its internal state, resources, and prepare for operation based on the provided data.
If #isAutoStart() is true, implementations might also trigger their start logic within or immediately after initialization.
Initializes the TVView using settings from the provided com.reveldigital.player.api.Module. This involves parsing Option values to determine:
- "TVType": Input type (e.g., "IPTV").
- "Url": The URL of the video stream for IPTV.
- "Volume": The initial playback volume (0.0 to 1.0).
- "VASTTag": URL for a VAST ad tag.
- "ScaleType": Video scaling mode ("Fill" for VIDEO_SCALING_MODE_SCALE_TO_FIT or "Center" for VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING).
Parameters
module
The module data containing configuration options for the TV view. This is typically the same module instance passed during construction.